/status/system/interface/<intf_name>/ip/dhcp/nameServer

Use

If DHCP is enabled, use to view the IP addresses of the DNS server assigned by the DHCP server.

Parameters

intf_name: Name of interface object

Data Key

The data key contains the DNS server IP addresses.

Data Type

json

Default Data Value

0

Request Methods

GET

Examples

GET

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/status/system/interfa ce/em1/ip/dhcp/nameServer

GET Response

{"/status/system/interface/em1/ip/dhcp/nameServer": {"data": "{}",
                                                      "default": True,
                                                      "defaultAllowed": True,
                                                      "deleteAllowed": False,
                                                      "numChildren": 0,
                                                      "type": "string"},
 "httpResponseCode": 200,
 "recurse": False,
 "requestPath": "/status/system/interface/em1/ip/dhcp/nameServer"}
  1. /status/system/interface/<intf_name>/ip/dhcp/nameServer 1. Parameters 2. Data Key
    1. Data Type
    2. Default Data Value 3. Request Methods 4. Related 5. Examples